<?python
  
  from fasttrack.widgets import IssueWidget
  
?>

<table xmlns:py="http://purl.org/kid/ns#" class="pretty" id="issues" py:if="len(issues) > 0">
    <tr>
        <th width="40">Impact</th>
        <th width="280">Issue</th>
        <th width="70">Creator</th>
        <th width="60">Date</th>
        <th py:if="not read_only" width="10">*</th>
    </tr>
    
	<span py:if="show_closed" py:for="issue in issues" py:replace="IssueWidget(issue=issue, read_only=read_only).display()" />
    <span py:if="not show_closed" py:for="issue in (i for i in issues if not i.closed)" py:replace="IssueWidget(issue=issue, read_only=read_only).display()" />
</table>